#include "RBTree.h"

int main()
{
	int a[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15, };
	RBTree<int, int> r;	
	for (auto e : a){
		r.Insert(make_pair(e, e));
	}
	r.InOrder();
	cout << r.CheckBlance() << endl;
	
	//r.Insert(make_pair(3, 3));
	//r.Insert(make_pair(1, 1));
	//r.Insert(make_pair(2, 2));
	

	return 0;
}